.class Lcom/instagram/android/o/g;
.super Ljava/lang/Object;
.source "QuickExperimentManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/instagram/android/o/a/c;

.field final synthetic b:Lcom/instagram/android/o/f;


# direct methods
.method constructor <init>(Lcom/instagram/android/o/f;Lcom/instagram/android/o/a/c;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 126
    iput-object p1, p0, Lcom/instagram/android/o/g;->b:Lcom/instagram/android/o/f;

    iput-object p2, p0, Lcom/instagram/android/o/g;->a:Lcom/instagram/android/o/a/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 129
    invoke-static {}, Lcom/instagram/e/a/a;->a()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/o/g;->a:Lcom/instagram/android/o/a/c;

    invoke-static {v0, v1}, Lcom/instagram/android/d/k/v;->a(Landroid/content/Context;Lcom/instagram/android/d/k/d;)Lcom/instagram/android/d/k/h;

    move-result-object v1

    .line 132
    instance-of v0, v1, Lcom/instagram/android/d/k/m;

    if-eqz v0, :cond_1

    move-object v0, v1

    .line 133
    check-cast v0, Lcom/instagram/android/d/k/m;

    .line 135
    invoke-virtual {v0}, Lcom/instagram/android/d/k/m;->b()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0}, Lcom/instagram/android/d/k/m;->a()Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 136
    invoke-virtual {v0}, Lcom/instagram/android/d/k/m;->a()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/o/b;

    .line 137
    iget-object v2, p0, Lcom/instagram/android/o/g;->b:Lcom/instagram/android/o/f;

    invoke-static {v2}, Lcom/instagram/android/o/f;->a(Lcom/instagram/android/o/f;)Lcom/instagram/android/o/c;

    move-result-object v2

    invoke-interface {v2, v0}, Lcom/instagram/android/o/c;->a(Lcom/instagram/android/o/b;)V

    .line 138
    const-class v2, Lcom/instagram/android/o/f;

    const-string v3, "synched experiment: %s"

    new-array v4, v6, [Ljava/lang/Object;

    aput-object v0, v4, v5

    invoke-static {v2, v3, v4}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)V

    goto :goto_0

    .line 140
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/o/g;->b:Lcom/instagram/android/o/f;

    invoke-static {v0}, Lcom/instagram/android/o/f;->a(Lcom/instagram/android/o/f;)Lcom/instagram/android/o/c;

    move-result-object v0

    invoke-interface {v0}, Lcom/instagram/android/o/c;->b()V

    .line 146
    :goto_1
    return-void

    .line 144
    :cond_1
    const-class v0, Lcom/instagram/android/o/f;

    const-string v2, "Quick experiment sync request failed! message: %s"

    new-array v3, v6, [Ljava/lang/Object;

    invoke-virtual {v1}, Lcom/instagram/android/d/k/h;->c()Ljava/lang/String;

    move-result-object v1

    aput-object v1, v3, v5

    invoke-static {v0, v2, v3}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)V

    goto :goto_1
.end method
